﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace TinyContactManager.Web.Internal.Entities
{
    public class Address
    {
        public int Id { get; set; }

        public string Street1 { get; set; }
        public string Street2 { get; set; }

        public string Suburb { get; set; }
        public string Postcode { get; set; }
        public string State { get; set; }

        public double Lat { get; set; }
        public double Long { get; set; }

        public ICollection<Contact> Contacts { get; set; }

        [Timestamp]
        public Byte[] Timestamp { get; set; }
    }
}